package com.ning.parking.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ning.parking.domain.ParkingLotBaseInfo;
import com.ning.parking.domain.VO.Pagination;
import com.ning.parking.domain.dto.ParkingLotBaseInfoAddOrUpdateDTO;
import com.ning.parking.domain.dto.ParkingLotBaseInfoDto;
import com.scsonic.common.domain.parklot.ParkingLotBaseInfoVO;

/**
*
*/
public interface ParkingLotBaseInfoService extends IService<ParkingLotBaseInfo> {

    /**
     * 添加车场
     * @param parkingLotBaseInfo
     * @return
     */
    ParkingLotBaseInfo saveParkingLotBaseInfo(ParkingLotBaseInfo parkingLotBaseInfo);

    ParkingLotBaseInfoVO save(ParkingLotBaseInfoAddOrUpdateDTO parkingLotBaseInfo);

    Pagination<ParkingLotBaseInfo> parkingLotBasePage(ParkingLotBaseInfoDto parkingLotBaseInfoDto);

    void exitSpace(Long parkingLotId);

    void entSpace(Long parkingLotId);
}
